/**
 * Created by Administrator on 2014/12/26.
 */

function Square(t,point){
   // this.type={"@":"player","#":"wall"," ":"empty","*":"exit","0":"boulder"}[t];
    this.isshown=false;//是否已经翻开
    this.data=t;
    this.img=dom("DIV",{style:"float:left;height:16px;width:20px;border:1px solid blue"});//
    this.img.xxx=t;
    this.img.pos=point;
    this.img.square=this;
}

Square.prototype.show=function(){
    this.img.innerHTML=this.data;
    this.isshown=true;
    console.log(this.img.pos);
}







